<?php

namespace Pocker\PockerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PkDetailCollection
 *
 * @ORM\Table(name="pk_detail_collection", indexes={@ORM\Index(name="collection_id", columns={"collection_id"})})
 * @ORM\Entity(repositoryClass="Pocker\PockerBundle\Repository\PkDetailCollectionRepository")
 */
class PkDetailCollection
{
    /**
     * @var integer
     *
     * @ORM\Column(name="card_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     */
    private $cardId;

    /**
     * @var integer
     *
     * @ORM\Column(name="collection_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     */
    private $collectionId;



    /**
     * Set cardId
     *
     * @param integer $cardId
     * @return PkDetailCollection
     */
    public function setCardId($cardId)
    {
        $this->cardId = $cardId;

        return $this;
    }

    /**
     * Get cardId
     *
     * @return integer 
     */
    public function getCardId()
    {
        return $this->cardId;
    }

    /**
     * Set collectionId
     *
     * @param integer $collectionId
     * @return PkDetailCollection
     */
    public function setCollectionId($collectionId)
    {
        $this->collectionId = $collectionId;

        return $this;
    }

    /**
     * Get collectionId
     *
     * @return integer 
     */
    public function getCollectionId()
    {
        return $this->collectionId;
    }
}
